package day0625;

import java.util.Arrays;
import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        System.out.println("请输入一个整数：");
        long n=s.nextLong();
        int len=(n+"").length();
        long []  os=new long[len];

        for(int i=0; i< os.length;  i++){
            long now=n/   (int)(Math.pow(10,i)) %10;
            os[os.length-i-1]=now;
        }
        System.out.println(Arrays.toString(os));
    }
}
